holy crap, sorry im retarded today
<? include('../head.php'); ?>
<?php require_once('../../Connections/go.php'); ?>
<?php
$filename = "D:/WebDev/Intranet/companyportal/Stock/Inventory_Availability_Report.csv";
mysql_select_db($database_go, $go);
$query = "load data infile '$filename' replace into table stock2 fields terminated by ',' optionally enclosed by '\"';";
$ok = mysql_query($query, $go) or die(mysql_error());
?>
<? include('../foot.php'); ?>